package com.slkj.shilixiaoyuanapp.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * Created  on 2018-07-15
 *
 * @author 唐开阔
 * @describe
 */
public class MainToolEntity extends BaseRecycHeadEntity {

    private String name;
    private int res;
    private int code;
    private Class activityClass;
    public MainToolEntity(boolean isHead) {
        super(isHead);
    }

    public MainToolEntity(String name, boolean isHead) {
        super(isHead);
        this.name = name;
    }

    public Class getActivityClass() {
        return activityClass;
    }

    public void setActivityClass(Class activityClass) {
        this.activityClass = activityClass;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public MainToolEntity(int code,boolean isHead, String name, Class activityClass, int res) {
        super(isHead);
        this.code = code;
        this.name = name;
        this.activityClass = activityClass;
        this.res = res;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRes() {
        return res;
    }

    public void setRes(int res) {
        this.res = res;
    }
}
